public class Counter implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	int nb;
	
	public void write(int _nb) {
		nb = _nb;
	}
	public int read() {
		return nb;
	}
}